<?php
/**
 * Clase Base Bean para BaseImArticuloBN
 *
 * @package    Sedapal
 * @subpackage BaseImArticuloBN
 * @author     hans
 * @version    SVN:: BaseImArticuloBN.class.php,v 1.1 2012-03-16 23:50:30 Hans.parra Exp $
 */
abstract class BaseImArticuloBN
{
  protected $ArticuloId;
  protected $Tipo;
  protected $Descripcion;
  protected $Memo;
  protected $Alias;
  protected $CodFabricante;
  protected $ClasificId;
  protected $SubClasificId;
  protected $MarcaId;
  protected $Proveed1;
  protected $Proveed2;
  protected $UndMedida;
  protected $UoM;
  protected $UndMedidaCompra;
  protected $UoMFactor;
  protected $UoMVenta;
  protected $UoMCompra;
  protected $UoMCompraFactor;
  protected $UoMVentaFactor;  
  protected $Garantia;
  protected $Inventariable;
  protected $Serializable;
  protected $ParaCompra;
  protected $ParaVenta;
  protected $Impuesto1Sw;
  protected $Impuesto2Sw;
  protected $Impuesto3Sw;
  protected $Advalorem;
  protected $Peso;
  protected $Volumen;
  protected $PrecioDefault;
  protected $CostoProm;
  protected $CostoUlt;
  protected $StockMin;
  protected $StockMax;
  protected $TiempoReposic;
  protected $Activo;
  protected $CreaUsr;
  protected $CreaFecha;
  protected $ModifUsr;
  protected $ModifFecha;
  protected $Mensaje;
  protected $Error;

  public function getArticuloId(){
    return $this->ArticuloId;
  }
  public function setArticuloId($v1){
    $this->ArticuloId = $v1; 
  }

  public function getTipo(){
    return $this->Tipo;
  }
  public function setTipo($v1){
    $this->Tipo = $v1; 
  }

  public function getDescripcion(){
    return $this->Descripcion;
  }
  public function setDescripcion($v1){
    $this->Descripcion = $v1; 
  }

  public function getMemo(){
    return $this->Memo;
  }
  public function setMemo($v1){
    $this->Memo = $v1; 
  }

  public function getAlias(){
    return $this->Alias;
  }
  public function setAlias($v1){
    $this->Alias = $v1; 
  }

  public function getCodFabricante(){
    return $this->CodFabricante;
  }
  public function setCodFabricante($v1){
    $this->CodFabricante = $v1; 
  }

  public function getClasificId(){
    return $this->ClasificId;
  }
  public function setClasificId($v1){
    $this->ClasificId = $v1; 
  }

  public function getSubClasificId(){
    return $this->SubClasificId;
  }
  public function setSubClasificId($v1){
    $this->SubClasificId = $v1; 
  }

  public function getMarcaId(){
    return $this->MarcaId;
  }
  public function setMarcaId($v1){
    $this->MarcaId = $v1; 
  }

  public function getProveed1(){
    return $this->Proveed1;
  }
  public function setProveed1($v1){
    $this->Proveed1 = $v1; 
  }

  public function getProveed2(){
    return $this->Proveed2;
  }
  public function setProveed2($v1){
    $this->Proveed2 = $v1; 
  }

  public function getUndMedida(){
    return $this->UndMedida;
  }
  public function setUndMedida($v1){
    $this->UndMedida = $v1; 
  }

  public function getUndMedidaCompra(){
    return $this->UndMedidaCompra;
  }
  public function setUndMedidaCompra($v1){
    $this->UndMedidaCompra = $v1; 
  }

  public function getUoMFactor(){
    return $this->UoMFactor;
  }
  public function setUoMFactor($v1){
    $this->UoMFactor = $v1; 
  }

  public function getUoMVenta(){
    return $this->UoMVenta;
  }
  public function setUoMVenta($v1){
    $this->UoMVenta = $v1; 
  }
  
  public function getUoMCompra(){
    return $this->UoMCompra;
  }
  public function setUoMCompra($v1){
    $this->UoMCompra = $v1; 
  }  

  public function getUoM(){
    return $this->UoM;
  }
  public function setUoM($v1){
    $this->UoM = $v1; 
  }      
  
  public function getUoMCompraFactor(){
    return $this->UoMCompraFactor;
  }
  
  public function setUoMCompraFactor($v1){
    $this->UoMCompraFactor = $v1; 
  }
  
  public function getUoMVentaFactor(){
    return $this->UoMVentaFactor;
  }
  public function setUoMVentaFactor($v1){
    $this->UoMVentaFactor = $v1; 
  }  

  public function getGarantia(){
    return $this->Garantia;
  }
  public function setGarantia($v1){
    $this->Garantia = $v1; 
  }

  public function getInventariable(){
    return $this->Inventariable;
  }
  public function setInventariable($v1){
    $this->Inventariable = $v1; 
  }

  public function getSerializable(){
    return $this->Serializable;
  }
  public function setSerializable($v1){
    $this->Serializable = $v1; 
  }

  public function getParaCompra(){
    return $this->ParaCompra;
  }
  public function setParaCompra($v1){
    $this->ParaCompra = $v1; 
  }

  public function getParaVenta(){
    return $this->ParaVenta;
  }
  public function setParaVenta($v1){
    $this->ParaVenta = $v1; 
  }

  public function getImpuesto1Sw(){
    return $this->Impuesto1Sw;
  }
  public function setImpuesto1Sw($v1){
    $this->Impuesto1Sw = $v1; 
  }

  public function getImpuesto2Sw(){
    return $this->Impuesto2Sw;
  }
  public function setImpuesto2Sw($v1){
    $this->Impuesto2Sw = $v1; 
  }

  public function getImpuesto3Sw(){
    return $this->Impuesto3Sw;
  }
  public function setImpuesto3Sw($v1){
    $this->Impuesto3Sw = $v1; 
  }

  public function getAdvalorem(){
    return $this->Advalorem;
  }
  public function setAdvalorem($v1){
    $this->Advalorem = $v1; 
  }

  public function getPeso(){
    return $this->Peso;
  }
  public function setPeso($v1){
    $this->Peso = $v1; 
  }

  public function getVolumen(){
    return $this->Volumen;
  }
  public function setVolumen($v1){
    $this->Volumen = $v1; 
  }

  public function getPrecioDefault(){
    return $this->PrecioDefault;
  }
  public function setPrecioDefault($v1){
    $this->PrecioDefault = $v1; 
  }

  public function getCostoProm(){
    return $this->CostoProm;
  }
  public function setCostoProm($v1){
    $this->CostoProm = $v1; 
  }

  public function getCostoUlt(){
    return $this->CostoUlt;
  }
  public function setCostoUlt($v1){
    $this->CostoUlt = $v1; 
  }

  public function getStockMin(){
    return $this->StockMin;
  }
  public function setStockMin($v1){
    $this->StockMin = $v1; 
  }

  public function getStockMax(){
    return $this->StockMax;
  }
  public function setStockMax($v1){
    $this->StockMax = $v1; 
  }

  public function getTiempoReposic(){
    return $this->TiempoReposic;
  }
  public function setTiempoReposic($v1){
    $this->TiempoReposic = $v1; 
  }

  public function getActivo(){
    return $this->Activo;
  }
  public function setActivo($v1){
    $this->Activo = $v1; 
  }

  public function getCreaUsr(){
    return $this->CreaUsr;
  }
  public function setCreaUsr($v1){
    $this->CreaUsr = $v1; 
  }

  public function getCreaFecha(){
    return $this->CreaFecha;
  }
  public function setCreaFecha($v1){
    $this->CreaFecha = $v1; 
  }

  public function getModifUsr(){
    return $this->ModifUsr;
  }
  public function setModifUsr($v1){
    $this->ModifUsr = $v1; 
  }

  public function getModifFecha(){
    return $this->ModifFecha;
  }
  public function setModifFecha($v1){
    $this->ModifFecha = $v1; 
  }

  public function getMensaje(){
    return $this->Mensaje;
  }
  public function setMensaje($vl){
    $this->Mensaje = $vl;
  }

  public function getError(){
    return $this->Error;
  }
  public function setError($vl){
    $this->Error = $vl;
  }

  /* Recupera un objeto Im_articuloBN desde un RecordSet */
  public static function retrieveByRs( $o_Im_articuloRs )
  {
    $o_ImArticuloBN = new ImArticuloBN();
    $o_ImArticuloBN->setArticuloId( $o_Im_articuloRs['articuloId'] );
    $o_ImArticuloBN->setTipo( $o_Im_articuloRs['tipo'] );
    $o_ImArticuloBN->setDescripcion( $o_Im_articuloRs['descripcion'] );
    $o_ImArticuloBN->setMemo( $o_Im_articuloRs['memo'] );
    $o_ImArticuloBN->setAlias( $o_Im_articuloRs['alias'] );
    $o_ImArticuloBN->setCodFabricante( $o_Im_articuloRs['codFabricante'] );
    $o_ImArticuloBN->setClasificId( $o_Im_articuloRs['clasificId'] );
    $o_ImArticuloBN->setSubClasificId( $o_Im_articuloRs['subClasificId'] );
    $o_ImArticuloBN->setMarcaId( $o_Im_articuloRs['marcaId'] );
    $o_ImArticuloBN->setProveed1( $o_Im_articuloRs['proveed1'] );
    $o_ImArticuloBN->setProveed2( $o_Im_articuloRs['proveed2'] );
    $o_ImArticuloBN->setUndMedida( $o_Im_articuloRs['undMedida'] );
    $o_ImArticuloBN->setUndMedidaCompra( $o_Im_articuloRs['undMedidaCompra'] );
    $o_ImArticuloBN->setUoMFactor( $o_Im_articuloRs['uoMFactor'] );
    $o_ImArticuloBN->setUoMVenta( $o_Im_articuloRs['uoMVenta'] );
    $o_ImArticuloBN->setUoMVentaFactor( $o_Im_articuloRs['uoMVentaFactor'] );
    $o_ImArticuloBN->setGarantia( $o_Im_articuloRs['garantia'] );
    $o_ImArticuloBN->setInventariable( $o_Im_articuloRs['inventariable'] );
    $o_ImArticuloBN->setSerializable( $o_Im_articuloRs['serializable'] );
    $o_ImArticuloBN->setParaCompra( $o_Im_articuloRs['paraCompra'] );
    $o_ImArticuloBN->setParaVenta( $o_Im_articuloRs['paraVenta'] );
    $o_ImArticuloBN->setImpuesto1_sw( $o_Im_articuloRs['impuesto1_sw'] );
    $o_ImArticuloBN->setImpuesto2_sw( $o_Im_articuloRs['impuesto2_sw'] );
    $o_ImArticuloBN->setImpuesto3_sw( $o_Im_articuloRs['impuesto3_sw'] );
    $o_ImArticuloBN->setAdvalorem( $o_Im_articuloRs['advalorem'] );
    $o_ImArticuloBN->setPeso( $o_Im_articuloRs['peso'] );
    $o_ImArticuloBN->setVolumen( $o_Im_articuloRs['volumen'] );
    $o_ImArticuloBN->setPrecioDefault( $o_Im_articuloRs['precioDefault'] );
    $o_ImArticuloBN->setCostoProm( $o_Im_articuloRs['costoProm'] );
    $o_ImArticuloBN->setCostoUlt( $o_Im_articuloRs['costoUlt'] );
    $o_ImArticuloBN->setStockMin( $o_Im_articuloRs['stockMin'] );
    $o_ImArticuloBN->setStockMax( $o_Im_articuloRs['stockMax'] );
    $o_ImArticuloBN->setTiempoReposic( $o_Im_articuloRs['tiempoReposic'] );
    $o_ImArticuloBN->setActivo( $o_Im_articuloRs['activo'] );
    $o_ImArticuloBN->setCrea_usr( $o_Im_articuloRs['crea_usr'] );
    $o_ImArticuloBN->setCrea_fecha( $o_Im_articuloRs['crea_fecha'] );
    $o_ImArticuloBN->setModif_usr( $o_Im_articuloRs['modif_usr'] );
    $o_ImArticuloBN->setModif_fecha( $o_Im_articuloRs['modif_fecha'] );
    return $o_ImArticuloBN;
  }
}